package com.xrj4j.enums;

import lombok.Getter;

@Getter
public enum YesOrNoEnum {
    NO(0, "否"),

    YES(1, "是");

    //创建构造函数
    YesOrNoEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    //定义私有方法，获取枚举值
    private final Integer code;
    private final String message;

}
